package com.jmb.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName t_interface_suite_log
 */
@TableName(value ="t_interface_suite_log")
@Data
public class InterfaceSuiteLog extends BaseEntity{


    /**
     * 测试套件编号
     */
    @Schema(description = "测试套件编号")
    @TableField(value = "suite_id")
    private Integer suiteId;

    /**
     * 测试套件日志编号
     */
    @Schema(description = "测试套件日志编号")
    @TableField(value = "suite_log_no")
    private String suiteLogNo;

    /**
     * 运行时长ms
     */
    @Schema(description = "运行时长ms")
    @TableField(value = "run_time")
    private Integer runTime;

    /**
     * 测试套件总用例
     */
    @Schema(description = "测试套件总用例")
    @TableField(value = "total_case")
    private Integer totalCase;

    /**
     * 运行总用例数
     */
    @Schema(description = "运行总用例数")
    @TableField(value = "total_run_case")
    private Integer totalRunCase;

    /**
     * 跳过数（未启用）
     */
    @Schema(description = "跳过数（未启用）")
    @TableField(value = "total_skip")
    private Integer totalSkip;

    /**
     * 运行成功数
     */
    @Schema(description = "运行成功数")
    @TableField(value = "total_success")
    private Integer totalSuccess;

    /**
     * 运行失败数
     */
    @Schema(description = "运行失败数")
    @TableField(value = "total_failed")
    private Integer totalFailed;

    /**
     * 运行错误数
     */
    @Schema(description = "运行错误数")
    @TableField(value = "total_error")
    private Integer totalError;

    /**
     * 总重试用例数
     */
    @Schema(description = "总重试用例数")
    @TableField(value = "total_retry")
    private Integer totalRetry;

    /**
     * 开始运行时间
     */
    @Schema(description = "开始运行时间")
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 运行完成时间
     */
    @Schema(description = "运行完成时间")
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 执行方式 0并行1串行
     */
    @Schema(description = "执行方式 0并行1串行")
    @TableField(value = "execute_type")
    private Integer executeType;

    /**
     * 0dev1test2stg3prod4debug
     */
    @Schema(description = "0dev 1test 2stg 3prod 4debug")
    @TableField(value = "run_dev")
    private Integer runDev;

    /**
     * 执行人
     */
    @Schema(description = "执行人")
    @TableField(value = "executor")
    private String executor;

    /**
     * 是否失败重新 0是1否
     */
    @Schema(description = "是否失败重新 0是1否")
    @TableField(value = "is_retry")
    private Integer isRetry;

    /**
     * 0进行中1执行完成2执行失败
     */
    @Schema(description = "0进行中1执行完成2执行失败")
    @TableField(value = "progress")
    private Integer progress;

    /**
     * 执行进度百分比
     */
    @Schema(description = "执行进度百分比")
    @TableField(value = "percentage")
    private Integer percentage;
}